/*
 * IAComponent.h
 * abstract component (base for component types)
 *  Created on: Oct 7, 2012
 *      Author: pigmal
 */

#ifndef IACOMPONENT_H_
#define IACOMPONENT_H_

class IAComponent
{
public:
	IAComponent();
	virtual ~IAComponent(){;}

	virtual void update() = 0;

	int GetIdx(){return idx;}
	int GetType(){return type;}

private:
	static int IDX;

	int	type;
	int idx;		//name
};
#endif /* IACOMPONENT_H_ */
